package com.bjpowernode.ba01;

import org.springframework.stereotype.Component;

@Component
public class SomeServiceImpl implements SomeService {

	@Override
	public void doSome() {
		System.out.println("执行了业务方法doSome()");

	}
	
	/**
	 * 有参数的方法
	 */

	@Override
	public void createCar(String carname) {
		System.out.println(carname + " is created ");
		
	}
	/**
	 * 有参数的方法
	 */

	@Override
	public void createUser(String username) {
		System.out.println(username + "An user is created ");
		
	}

	@Override
	public void destroyCar(String carName, int number) {
		System.out.println("Car is destroyed. ");
		
	}

}
